<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<jsp:include page="../header.jsp"></jsp:include>

 
<fieldset class="layui-elem-field layui-field-title">
  <legend>添加部门</legend> 
</fieldset>
<form action="dept/add" method="post" class="layui-form">
		<div class="layui-form-item">
			<label class="layui-form-label">部门名称</label>
			<div class="layui-input-inline">
				<input type="text" name="name" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">办公地点</label>
			<div class="layui-input-inline">
				<input type="text" name="room" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">联系电话</label>
			<div class="layui-input-inline">
				<input type="text" name="phone" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"></label>
			<div class="layui-input-inline">
				<input type="submit" value="添加"  class="layui-btn layui-btn-primary layui-border-blue">
			</div>
		</div>
		   <div class="layui-form-mid layui-word-aux">${error}</div>
</form>
<jsp:include page="../footer.jsp"></jsp:include>
